# coding=utf-8
from django.conf.urls import url
from rest_framework_jwt.views import obtain_jwt_token
from . views import statistical
urlpatterns = [
    #　登陆
    url(r'^authorizations/$', obtain_jwt_token),
    # 数据统计
    url(r'^statistical/total_count/$', statistical.UserCounter.as_view()),
    # 当日新增用户
    url(r'^statistical/day_increment/$', statistical.UserDayCounter.as_view()),
    # 日活用户
    url(r'^statistical/day_active/$', statistical.UserDayActiveCounter.as_view()),
    url(r'^statistical/day_orders/$', statistical.UserDayActiveCounter.as_view()),

]